package br.com.rfqx.procurement.quotation;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import br.com.rfqx.account.Customer;
import br.com.rfqx.account.Supplier;

import lombok.Data;


/**
 * TODO : Toda cotacao necessita de manter historico de modificacoes
 * a especificacao JPA nao especifica isso, para isso nos utilizamos 
 * o Envers do Hibernate, adicionando a anotacao de Audited
 * 
 * @author Bisso
 * @version 1.0
 */
@Data
@Entity
@Table(name="RFQX_QUOTATION")
public class Quotation implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long id;

//	@ManyToOne
//	@JoinColumn(name="customer_id")
//	private Customer customer;
//
//	
//	@ManyToOne
//	@JoinColumn(name="supplier_id")
//	private Supplier supplier;
	
	
	

	
	
	
}
